﻿// ActionScript file
package org.nickro.graphics{
	public class Rectangle extends Polygon{
		public function Rectangle(w:Number,h:Number){
			super();
			setRect(w,h);
		}
		public function setRect(w:Number,h:Number):void{
			setPoints([0,w,w,0],[0,0,h,h]);
		}
	}
}